package com.cmc6.user.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.Set;

@Data
public class UserPageVO {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "头像url")
    private String avatarUrl;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "账号邮箱")
    private String email;

    @ApiModelProperty(value = "正常/冻结，注意：这个数据是从 user_security表中获取的")
    private boolean enableFlag;

    @ApiModelProperty(value = "个性签名")
    private String personalStatement;

    @ApiModelProperty(value = "账号，创建时间")
    private Date createTime;

    @ApiModelProperty(value = "角色 idSet")
    private Set<Long> roleIdSet;

    @ApiModelProperty(value = "部门 idSet")
    private Set<Long> deptIdSet;

    @ApiModelProperty(value = "岗位 idSet")
    private Set<Long> jobIdSet;

    @ApiModelProperty(value = "手机号")
    private String phone;

}
